package
{
	import flash.net.URLVariables;


	public class Player
	{
		public var classID:uint = 0;
		public var spec:uint = 0;
		public var hero:uint = 0;
		public var attack:uint = 0;
		public var defense:uint = 0;
		public var magic:uint = 0;
		public var mana:uint = 10;
		public var exp:Number = 0;
		public var level:uint = 1;
		public var items:Vector.<Item>;
		public var x:Number;
		public var y:Number;
		public var cellList:Vector.<CellPos>;
		public var cellCurrent:CellPos = new CellPos(0,0);
		public function Player(vars:URLVariables)
		{
			classID = vars.classID;
			spec = vars.spec;
			exp = vars.exp;
			level = vars.level;
		}
	}
}